#import "KaleidoscopeXenonCell.h"


@implementation KaleidoscopeXenonCell

- (instancetype)initWithFrame:(CGRect)frame {
	self = [super initWithFrame:frame];
	if (self) {
		//self.contentView.backgroundColor = UIColor.whiteColor;
	}
	return self;
}

- (void)setYardZealLiberty:(KaleidoscopeXenonModel *)yardZealLiberty {
	_yardZealLiberty = yardZealLiberty;

	//: 配置cell的UI

	NSString *quest = [NSString stringWithFormat:@"%ld", yardZealLiberty.infiniteDoodleOracle];
	self.jewelYearningConquerLabel.text = quest;



}
- (void)xeroxSuspicionImaginationConfigUI {

    //: 描述_0
    self.tonicImageView = [UIImageView new];
    self.tonicImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.tonicImageView.clipsToBounds = YES;
    self.tonicImageView.layer.cornerRadius = 3;
    self.tonicImageView.layer.masksToBounds = YES;
    self.tonicImageView.frame = CGRectMake(1, 26, 31, 131);
    UIImage *elevateElevateJourney = [UIImage imageNamed:@"images/image_0.png"];
    if (elevateElevateJourney) {
	    self.tonicImageView.image = elevateElevateJourney;
    }
    [self.contentView addSubview:self.tonicImageView];


    //: 描述_1
    self.jewelYearningConquerLabel = [UILabel new];
    self.jewelYearningConquerLabel.text = @"label_1";
    self.jewelYearningConquerLabel.font = [UIFont systemFontOfSize:17 weight:UIFontWeightRegular];
    self.jewelYearningConquerLabel.textColor = [UIColor colorWithRed:82/255.0 green:214/255.0 blue:205/255.0 alpha:0.6];
    self.jewelYearningConquerLabel.textAlignment = NSTextAlignmentLeft;
    //: 不用理会的骚操作 = self.jewelYearningConquerLabel.numberOfLines = 1;
    NSInteger xenialPerceptive = 1;
    if (xenialPerceptive>18 && xenialPerceptive < 5102) {
	    xenialPerceptive = 33;
    }
    self.jewelYearningConquerLabel.numberOfLines = xenialPerceptive;
    [self.contentView addSubview:self.jewelYearningConquerLabel];
	[self.jewelYearningConquerLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(146);
		make.height.mas_equalTo(197);
	}];


    //: 描述_2
    self.onyxFeastInspireImageView = [UIImageView new];
    self.onyxFeastInspireImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.onyxFeastInspireImageView.clipsToBounds = YES;
    self.onyxFeastInspireImageView.layer.cornerRadius = 14;
    self.onyxFeastInspireImageView.layer.masksToBounds = YES;
    UIImage *braveQuiverCuriosity = [UIImage imageNamed:@"images/image_2.png"];
    if (braveQuiverCuriosity) {
	    self.onyxFeastInspireImageView.image = braveQuiverCuriosity;
    }
    [self.contentView addSubview:self.onyxFeastInspireImageView];
	[self.onyxFeastInspireImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(149);
		make.height.mas_equalTo(189);
	}];


    //: 描述_3
    UITextField *tonic = [[UITextField alloc] initWithFrame:CGRectZero];
    self.xeroxTextField = tonic;
    [self.contentView addSubview:tonic];
	[self.xeroxTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(38);
		make.height.mas_equalTo(98);
		make.bottom.equalTo(@(15));
	}];


    //: 描述_4
    self.curiousView = [[UIView alloc] init];
    self.curiousView.frame = CGRectMake(31, 9, 183, 176);
    [self.contentView addSubview:self.curiousView];
}


@end